package com.huaweicloud.apm.example;

public class AppManageSolution {

    public static void main(String[] args) {
        ListBusiness.GetBusinessListVO getBusinessListVO = ListBusiness.getBusinessListVO();
        Long businessId = getBusinessListVO.getBusinessNodes().get(0).getId();
        ListApps.GetAppListVO getAppListVO = ListApps.getAppListVO(businessId, businessId);
        Long appId = getAppListVO.getApps().get(0).getId();
        DeleteApp.OkVO okVO = DeleteApp.deleteApp(appId, businessId);
        System.out.println(okVO.getOk());
    }

}
